package chapter11;

import java.util.PriorityQueue;

/**
 * Created by Caesar on 2015/12/30.
 */
class MyTest{

}

public class EX29 {
    PriorityQueue<MyTest> pq = new PriorityQueue<MyTest>();

    public static void main(String[] args) {
        EX29 e29 = new EX29();
        MyTest mt = new MyTest();
        e29.pq.offer(new MyTest());
        e29.pq.offer(new MyTest());
        e29.pq.offer(mt);
        e29.pq.offer(mt);
    }
}
